﻿using System;

namespace YaP.Library
{
    [Serializable]
    public class ServerItem
    {
        public string ServerHost;
        public Guid ServerID;
        public string ServerName;
        public Int32 ServerPort;

        public ServerItem()
        {
            ServerID = Guid.NewGuid();
        }

        public ServerItem(string _ServerName, string _ServerHost, Int32 _ServerPort)
        {
            ServerName = _ServerName;
            ServerHost = _ServerHost;
            ServerPort = _ServerPort;
            ServerID = Guid.NewGuid();
        }

        public override string ToString()
        {
            return ServerName;
        }
    }
}